package com.system.xingzhi.model;

import java.util.Date;
import java.util.UUID;

public class ComponentPermission {
    private String componentPermissionId;

    private String componentPermissionName;

    private String componentPermissionValue;

    private String componentId;

    private Date createTime;

    private Date updateTime;

    private String componentPermissionDetail;

    public ComponentPermission() {
        this.setComponentPermissionId(UUID.randomUUID().toString());
        this.setUpdateTime(new Date());
        this.setCreateTime(new Date());
    }

    public String getComponentPermissionId() {
        return componentPermissionId;
    }

    public void setComponentPermissionId(String componentPermissionId) {
        this.componentPermissionId = componentPermissionId == null ? null : componentPermissionId.trim();
    }

    public String getComponentPermissionName() {
        return componentPermissionName;
    }

    public void setComponentPermissionName(String componentPermissionName) {
        this.componentPermissionName = componentPermissionName == null ? null : componentPermissionName.trim();
    }

    public String getComponentPermissionValue() {
        return componentPermissionValue;
    }

    public void setComponentPermissionValue(String componentPermissionValue) {
        this.componentPermissionValue = componentPermissionValue == null ? null : componentPermissionValue.trim();
    }

    public String getComponentId() {
        return componentId;
    }

    public void setComponentId(String componentId) {
        this.componentId = componentId == null ? null : componentId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getComponentPermissionDetail() {
        return componentPermissionDetail;
    }

    public void setComponentPermissionDetail(String componentPermissionDetail) {
        this.componentPermissionDetail = componentPermissionDetail == null ? null : componentPermissionDetail.trim();
    }
}